const express = require('express');
const authController = require('../controllers/authController');

const router = express.Router();

// 注册
router.post('/register', authController.register);

// 登录
router.post('/login', authController.login);

// 登出
router.get('/logout', authController.logout);

module.exports = router; 